/**
 * 
 */
package mycsveditor.editors;

import java.util.List;
import java.util.Set;

import org.eclipse.jdt.core.dom.MethodInvocation;

/**
 * Check whether an invocation match specified condition
 * 
 * @author dongxu
 * 
 */
public interface IInvocationMatcher {

	/**
	 * Check whether an invocation match specified condition
	 * 
	 * @param invoke
	 * @return
	 */
	public boolean matches(MethodInvocation invoke);
	
	/**
	 * Resolve parameter descriptors according to 
	 * @param invokes
	 * @return
	 */
	public Set<ParameterDescriptor> resolveParameters(List<MethodInvocation> invokes);
}
